Skip to main content

spray

Type

property

Summary

Specifies the shape used for painting with the Spray Can tool.

Syntax

set the spray to {<brushID> | <imageID>}

Description

Use the spray property to specify which shape is painted by the Spray Can tool.

The entire painted area of the brush is used as the spray can shape. The shape painted by the spray can is drawn in the brushColor, regardless of what colors might be in the image used for the spray can shape.

When the Spray Can tool is in use, the cursor is the same as the spray can shape. You can use any size image as a spray can, but the cursor may appear distorted on some systems if the image is not 16x16 pixels.

Examples

set the spray to 30

function: tool, stacks

glossary: property, current stack

keyword: image

property: brush, eraser

command: choose

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?